<?php include APP_PATH . 'tpl/admin/header.php'; ?>
<h1>日志列表：</h1>
<table class="category">
    <tr>
        <td>ID</td>
        <td>标题</td>
        <td>分类</td>
        <td>添加时间</td>
        <td>操作</td>
    </tr>
    <?php foreach ($list as $key => $val): ?>
    <tr>
        <td><?php echo $val['id']; ?></td>
        <td><?php echo $val['title']; ?></td>
        <td><?php echo $val['name']; ?></td>
        <td><?php echo $val['addtime']; ?></td>
        <td><a href="admin.php?action=articleedit&id=<?php echo $val['id']; ?>">修改</a>/删除</td>
    </tr>
    <?php endforeach; ?>
</table>
<?php include APP_PATH . 'tpl/admin/footer.php'; ?>